# app/tortoise_orm_config.py

TORTOISE_ORM = {
    "connections": {
        "default": "mysql://ems-rlsim:cMMMwyxLiJNjitnn@123.56.84.181:3306/ems-rlsim"
    },
    "apps": {
        "models": {
            "models": ["app.models.user",
                       "aerich.models",
                       "app.models.battery",
                       "app.models.electric_price_info",
                       "app.models.electric_price_value",
                       "app.models.env_param_parameter",
                       "app.models.env_parameter",
                       "app.models.parameter",
                       "app.models.parameter_category",
                       "app.models.parameter_value",
                       "app.models.simulation_result",
                       "app.models.env_param_price",
                       "app.models.simulation_result_total",
                       "app.models.simulation_result_total_map",
                       "app.models.location",
                       "app.models.simulation"
                       ],
            "default_connection": "default",
        }
    },
    "use_tz": False,
    "timezone": "Asia/Shanghai",
}
